//
//  CagooController.h
//
//  Created by brice rouanet on 04/02/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>



@interface CagooController : NSObject {
    IBOutlet id theEnable;
    IBOutlet id theMinus;
    IBOutlet id thePlus;
    IBOutlet id theSave;
    IBOutlet NSTableView *theTable;
    IBOutlet id theTextField;
    IBOutlet id theTextField2;
	
	NSMutableArray *viewBuffer;
}
- (IBAction)onClickActivate:(id)sender;
- (IBAction)onClickDeactivate:(id)sender;
- (IBAction)enableCagoo:(id)sender;
- (IBAction)minusCagoo:(id)sender;
- (IBAction)plusCagoo:(id)sender;
- (IBAction)saveCagoo:(id)sender;
- (IBAction)clickOnTable:(id)sender;
- (void)setCheckboxEnabled:(BOOL)isEnabled;
@end

@interface CagooController (PrivateMethods)
- (void)enableLoginItemWithLoginItemsReference:(LSSharedFileListRef )theLoginItemsRefs ForPath:(CFURLRef)thePath;
- (void)disableLoginItemWithLoginItemsReference:(LSSharedFileListRef )theLoginItemsRefs ForPath:(CFURLRef)thePath;
@end